package com.creditease.daemon;

public class DaemonTest {

	public static class DaemonThread extends Thread{

		public DaemonThread(String name){
			super.setName(name);
		}
		@Override
		public void run() {
			System.out.println("Thead "+getName()+" is runnable.....");
		}
		
	}
	public static void main(String[] args) {
		DaemonThread t1 = new DaemonThread("t1");

//		t1.setDaemon(true);
		t1.start();
	}

}
